package com.postads.model;

import org.primefaces.model.tagcloud.DefaultTagCloudItem;
import org.primefaces.model.tagcloud.DefaultTagCloudModel;
import org.primefaces.model.tagcloud.TagCloudModel;

/**
 * 
 * User Entity
 * 
 * @author sa.ramesh@gmail.com
 * @since 15 May 2012
 * @version 1.0.0
 *
 */
public class TagCloud {

    private TagCloudModel model;

    public TagCloud() {
        model = new DefaultTagCloudModel();
        model.addTag(new DefaultTagCloudItem("Real Estate", "#", 3));
        model.addTag(new DefaultTagCloudItem("Dating", "#", 2));
        model.addTag(new DefaultTagCloudItem("Community", "#", 1));
        model.addTag(new DefaultTagCloudItem("Car", "#", 3));
        model.addTag(new DefaultTagCloudItem("Rent Flat", "#", 4));
        model.addTag(new DefaultTagCloudItem("To Share", "#", 1));
        model.addTag(new DefaultTagCloudItem("Job", "#", 3));
        model.addTag(new DefaultTagCloudItem("Sell Flat", "#", 2));
        model.addTag(new DefaultTagCloudItem("Pets", "#", 5));
        model.addTag(new DefaultTagCloudItem("For Sale", "#", 3));
        model.addTag(new DefaultTagCloudItem("Businesses", "#", 2));
        model.addTag(new DefaultTagCloudItem("Personal Care", "#", 4));
        model.addTag(new DefaultTagCloudItem("Travels", "#", 2));
        model.addTag(new DefaultTagCloudItem("Restaurants", "#", 5));
    }

    public TagCloudModel getModel() {
        return model;
    }
}